module("ufe.config", package.seeall)

--the path of ufe mod path
ufe_path = "/opt/taobao/tengine/conf/ufe/"
-- the interval for checking whether the conf is update
check_conf_expired = 5 --30s
--the interval for update the switch ,default is 3s
check_switch_expired = 1 --3s

--the interval to retry after get app conf failed ,defalt is 5
load_app_conf_retry_time = 3

--the handler to update config
update_conf_handler = 'tair'

--for tair handler
tair_ns = 1833
tair_default_group = "ufe"
--same with tair group in nginx.conf, for checking tair in list action
tair_groups = {"group_ldbcommon","mdb","ufe"}
--url for tair
tair_url = "http://127.0.0.1:7005/tair_restful"
--timeout for tair
tair_conn_timeout = 200
tair_send_timeout = 200
tair_resp_timeout = 200
